using System;
using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Requests
{
	public static class EntityActivityParticipantsCreateExtend
{
		public static ActivityParticipants ToCreateEntity(this RequestActivityParticipantsDto dto)
		{
			return new ActivityParticipants
			{
				ApIndustry = dto.industry,
				ApEventId = dto.eventId,
			};
		}
	}
}
